#include <stdio.h>

/* This is program is licensed under the GPL...*/

int main(int argc, char* argv[]){
	FILE *f;
	char c;

	if (argc < 2){
		printf ("Usage: %s <file>\n", argv[0]);
		return (1);
	}
	if ((f = fopen(argv[1], "r")) == NULL){
		printf ("Error while opening the file %s\n", argv[1]);
		return (2);
	}
	while ((c = fgetc(f)) != EOF){
		putchar(c);
	}
	fclose(f);
	return 0;
}
